package com.cdd.common.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cdd.common.core.domain.BaseEntity;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 账单明细-充值
 */
@TableName("app_mingxi_chongzhi")
@Data
public class AppMingxiChongzhi extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    private Integer id;
    //用户id
    private Integer userid;
    //用户头像
    private String pic;
    //用户昵称
    private String nick;
    //用户手机号
    private String phone;
    //钻石数量
    private BigDecimal goumainum;
    //充值金额
    private BigDecimal money;
    //创建时间
    private Date createtime;
    // 购买类型   1、支付宝   2、微信
    private Integer leixing;
    // 创建人
    @TableField(exist = false)
    private Integer createBy;
    //类型
    @TableField(exist = false)
    private Integer type;
    //数量
    @TableField(exist = false)
    private Integer num;
    //订单号
    private String ordernum;

}
